package com.gxa.mapper.investment;

import com.gxa.dto.investmentDto.IntentionAgreementDto;
import com.gxa.dto.investmentDto.IntentionAgreementResult;
import com.gxa.entity.investment.IntentionAgreement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.entity.investment.IntentionRegister;
import com.gxa.vo.investmentVo.IntentionAgreementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 意向协议单 Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 03:04:36
 */
@Mapper
public interface IntentionAgreementMapper extends BaseMapper<IntentionAgreement> {

    public IntentionAgreementResult queryById(@Param("id") Integer id);

    public List<IntentionAgreementResult> listAll() ;

    //条件查询
    public List<IntentionAgreementResult> queryByInvestmentPlanDto(IntentionAgreementDto intentionAgreementDto);
    Date queryByIdTime(Integer id);

    //页面里的详情
    IntentionAgreementVo queryById002 (@Param("id") Integer id );

    List<IntentionRegister> queryAll();
}
